package gwtappcontainer.server.apis.insight;

import gwtappcontainer.shared.apis.insight.UnlistedProgram;

import com.googlecode.objectify.annotation.Embed;

@Embed
class UnlistedProgramsEmbeddedEntity {
	String programType;
	String venue;
	int month;
	int year;
	String teacher;	
	
	UnlistedProgram toProp() {
		UnlistedProgram prop = new UnlistedProgram();
		prop.programType = programType;
		prop.venue = venue;
		prop.month = month;
		prop.year = year;
		prop.teacher = teacher;
		
		return prop;
	}	
}
